package com.hmdp.common.utils;

/**
 * @author WDs , wds8.24@outlook.com
 * @version 1.0
 * @since 2023-01-19 16:57
 */
public interface ILock {
    boolean tryLock(long timeSec);

    void unlock();
}
